package org.busalerter;

import ca.odell.glazedlists.BasicEventList;
import ca.odell.glazedlists.EventList;
import ca.odell.glazedlists.GlazedLists;
import ca.odell.glazedlists.swing.EventTableModel;
import com.sun.java.swing.plaf.windows.WindowsLookAndFeel;
import org.busalerter.domain.BusStop;
import org.busalerter.domain.BusTime;
import org.busalerter.parser.DataScraper;
import org.busalerter.parser.DataScraperImpl;
import org.busalerter.ui.BusTimeTableFormat;
import org.busalerter.ui.MainFrame;

import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.text.DateFormat;
import java.text.SimpleDateFormat;

/**
 * Created by IntelliJ IDEA.
 * <p/>
 * User: bethella
 * Date: 18/11/11
 * Time: 16:08
 */
public class BusAlerter {


    public static void main(String[] args) throws Exception {

        SwingUtilities.invokeLater(new Runnable() {
            public void run() {
                try {
                    UIManager.setLookAndFeel(new WindowsLookAndFeel());

                    new MainFrame();

                } catch (Exception e) {
                    e.printStackTrace();
                }
            }
        });
    }


}
